package vip.geeker.iotms.persistance.model;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DeviceType extends PageParam implements Serializable {
    private static final long serialVersionUID = 1577526303453271460L;
    private Integer id;

    private String name;

    private Integer creator;

    private Date createTime;

    private Boolean isValid;

    private Integer parentId;

    private Integer modifier;

    private Date lastUpdTime;

    @TableField(exist = false)
    private String parentName;
}
